home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
program
/
ctutord.EXE
/
37.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-09-17
|
398b
|
17 lines
/*
There may be additional include files required depending
upon the compile product you are using. Typical compilers
include Microsoft C by Microsoft or Turbo C by Boland Int'l.
*/
#include <stdio.h>
main()
{
int *p; /* integer pointer */
int zx=10, zz;
p=&zx; /* assign the address to the pointer */
zz= *p; /* indirectly store 10 in zx */
printf("%d %d\n",zz, *p );
}